import sys
from PyQt5.QtWidgets import QApplication
from ui.main_window import MainWindow

if __name__ == "__main__":
    app = QApplication(sys.argv)
    username = "test111"
    # 显示弹窗
    dialog = MainWindow(username)
    dialog.show()
    sys.exit(app.exec_())